public class superman {
    public String name = "超级英雄";
    String occupation = "维护世界和平";
    String task = "打败灭霸";
    protected String haedquarters = "神盾局";

    public void attack(){
        System.out.println("发起进攻!");
    }
    public void abblity(){
        System.out.println("超能力");
    }
    public void contact(){
        System.out.println("防御");
    }
    public void recuit(){
        System.out.println("招募");
    }


    public void introduce(){
        System.out.println("我的名字:"+name);
        System.out.println("我的职业是:" + occupation);
        System.out.println("我的任务是:" + task);
        System.out.println("我的指挥部是:" + haedquarters);
        System.out.println("我有以下能力:");
        attack();
        abblity();
        recuit();
        contact();
    }
}
